﻿using System;
using System.Collections;
using System.Data;
using System.Web;
using System.Web.Services;
using System.Web.Services.Protocols;

/// <summary>
/// Summary description for GetUnstoredBookList
/// </summary>
[WebService(Namespace = "http://tempuri.org/")]
[WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
public class BookService : System.Web.Services.WebService
{

    public BookService()
    {

        //Uncomment the following line if using designed components 
        //InitializeComponent(); 
    }

    [WebMethod]
    public System.Data.DataSet GetUnstoredBookList()
    {
        DataSet ds=((new BookSystem.BLL.Book())).GetList("storefile=''");
        ds.WriteXml(Server.MapPath("xml\\test.xml"));
        return ds;
    }

}

